package com.qf.oop.hero;

/**
 * 长剑类型
 */
public class LongSword extends Weapon{

    public LongSword() {
        // 给type赋值为0
        this.setType(0);
        // 给长剑对象赋予默认的攻击力数值
        this.setAtk(20);
    }

    public LongSword(String name, int type, int atk) {
        super(name, type, atk);
    }
}
